Bump aiohasupervisor to 0.4.1#165489
Conversation
|
Hey there @home-assistant/supervisor, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Pull request overview
This PR bumps aiohasupervisor from 0.3.3 to 0.4.0 and removes it as a core dependency from pyproject.toml, requirements.txt, and package_constraints.txt, keeping it only as a requirement of the hassio integration.
Changes:
- Bumps
aiohasupervisorversion from 0.3.3 to 0.4.0 inmanifest.json,requirements_all.txt, andrequirements_test_all.txt. - Removes
aiohasupervisorfrom core-level dependency files (pyproject.toml,requirements.txt,package_constraints.txt) since it should only be a hassio integration dependency (related to the deprecation note from #127228, originally targeted for removal with 2025.11).
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
homeassistant/components/hassio/manifest.json |
Bumps aiohasupervisor to 0.4.0 |
requirements_all.txt |
Bumps aiohasupervisor to 0.4.0 |
requirements_test_all.txt |
Bumps aiohasupervisor to 0.4.0 |
pyproject.toml |
Removes aiohasupervisor as a core dependency |
requirements.txt |
Removes aiohasupervisor from core requirements |
homeassistant/package_constraints.txt |
Removes aiohasupervisor from package constraints |
5bff7be to
d826323
Compare
There was a problem hiding this comment.
Pull request overview
Bumps aiohasupervisor from 0.3.3 to 0.4.0 and removes the library from the core dependency list (pyproject.toml, requirements.txt, package_constraints.txt), keeping it only as a hassio integration requirement.
Changes:
- Version bump of
aiohasupervisorto 0.4.0 in manifest and generated requirements files. - Removal of
aiohasupervisorfrom core dependencies (pyproject.toml,requirements.txt,package_constraints.txt) since it should only be an integration-level dependency. - Test updates replacing removed enum values (
CheckType.SUPERVISOR_TRUST→DOCKER_CONFIG,UnsupportedReason.CONTENT_TRUST→CONNECTIVITY_CHECK).
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| homeassistant/components/hassio/manifest.json | Bump aiohasupervisor version to 0.4.0 |
| requirements_all.txt | Bump aiohasupervisor version to 0.4.0 |
| requirements_test_all.txt | Bump aiohasupervisor version to 0.4.0 |
| requirements.txt | Remove aiohasupervisor from core requirements |
| pyproject.toml | Remove aiohasupervisor from core dependencies |
| homeassistant/package_constraints.txt | Remove aiohasupervisor from package constraints |
| tests/components/hassio/test_issues.py | Update tests to use new enum values available in 0.4.0 |
By the PR you mean #127228? That PR added deprecated functions like |
@agners The main thing that PR did that was relevant to this discussion was it removed Now all integrations that depend on the That being said, splitting it into two PRs for release note purposes is fine by me if we want. One to remove the dependency from |
|
Depends on #165512 |
Yeah, but I mean to remove those deprecated functions from that PR as well. But I realized now they got removed already in #158802. So all good 👍 . |
There was a problem hiding this comment.
Pull request overview
This PR bumps the aiohasupervisor dependency from 0.3.3 to 0.4.0. The test changes adapt to enum values (CheckType.SUPERVISOR_TRUST, UnsupportedReason.CONTENT_TRUST) that were apparently removed in the new library version, replacing them with other valid enum members.
Changes:
- Bumps
aiohasupervisorversion to 0.4.0 in manifest,requirements_all.txt, andrequirements_test_all.txt. - Updates test fixtures and assertions in
test_issues.pyto useCheckType.DOCKER_CONFIGandUnsupportedReason.CONNECTIVITY_CHECKin place of removed enum values.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| homeassistant/components/hassio/manifest.json | Version bump to 0.4.0 |
| requirements_all.txt | Version bump to 0.4.0 |
| requirements_test_all.txt | Version bump to 0.4.0 |
| tests/components/hassio/test_issues.py | Replace removed enum values with valid alternatives |
agners
left a comment
There was a problem hiding this comment.
With #165512 merged this is ready.
I've bumped it to the just released 0.4.1 as well, which contains a small bug fix required for #164413 (see #164413 (review)).
From my side this is ready to get merged.
Proposed change
Bumps
aiohasupervisorfrom version 0.3.3 to 0.4.1I was going to bump the value inpyproject.tomlas well but I see that @edenhaus put in a PR to make that unnecessary and we're overdue from removing it from there. So I removed it instead of bumping it in this PR but let me know if you'd prefer that bit in a separate PR since I guess its possible it could be breaking for custom integrations.This change moved to #165512 . This PR will wait for that to merge
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: